﻿-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date,,>
-- Description:	<Description,,>
-- =============================================

CREATE PROCEDURE [dbo].[InsertExposureWhere]
	@ExposureKey int,
	@GeoRSSWhere xml
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;
	update [ExposureCache]  
	Set [GeoRSSWhere]  = geography::GeomFromGml(@GeoRSSWhere ,4326)
	WHERE [Id] = @ExposureKey
END
;
